package br.ufpe.cin.analysis.plugin.simulation.entities;

import java.util.ArrayList;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(namespace = "br.ufpe.cin")
@XmlType(propOrder = { "name", "activities" })
public class SimulationData {
	private String name;
	@XmlElementWrapper(name = "activities")
	@XmlElement(name = "activity")
	private ArrayList<ActivityData> activities;

	public void setBookList(ArrayList<ActivityData> bookList) {
		this.activities = bookList;
	}

	public ArrayList<ActivityData> getBooksList() {
		return activities;
	}

	@XmlElement(name = "processName")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}